package com.wfy.api;

import org.springframework.http.ResponseEntity;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Title: CategoryApi
 * @Package com.wfy
 * @Author 王飞遥
 * @Date 2022/9/16 11:38
 */
//商品分类feign接口
@RequestMapping("/category")
public interface CategoryApi {
    //通过商品分类的id 查询商品分类的名称
    @GetMapping("/names")
    public List<String> queryNamesByIds(@RequestParam("ids")List<Long> ids);
}
